package org.omg.IOP;

/**
 * Generated from IDL definition of alias "ProfileId"
 * 
 * @author IDL compiler
 */

public class ProfileIdHelper {
	private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init()
			.create_alias_tc(
					org.omg.IOP.ProfileIdHelper.id(),
					"ProfileId",
					org.omg.CORBA.ORB.init().get_primitive_tc(
							org.omg.CORBA.TCKind.from_int(5)));

	public ProfileIdHelper() {
	}

	public static void insert(org.omg.CORBA.Any any, int s) {
		any.insert_ulong(s);
	}

	public static int extract(org.omg.CORBA.Any any) {
		return any.extract_ulong();
	}

	public static org.omg.CORBA.TypeCode type() {
		return _type;
	}

	public static String id() {
		return "IDL:omg.org/IOP/ProfileId:1.0";
	}

	public static int read(org.omg.CORBA.portable.InputStream _in) {
		int _result;
		_result = _in.read_ulong();
		return _result;
	}

	public static void write(org.omg.CORBA.portable.OutputStream _out, int _s) {
		_out.write_ulong(_s);
	}
}
